package com.edu.study.base.stuLevel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * stuLevel对象 stu_level
 * 
 * @author zw
 * @date 2021-05-28
 */
public class StuLevel extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private String LevelId;

    /** 等级类型 */
    @Excel(name = "等级类型")
    private String levelType;

    /** 等级编号 */
    @Excel(name = "等级编号")
    private String levelNum;

    /** 等级名称 */
    @Excel(name = "等级名称")
    private String levelName;

    /** 是否受限，指受等级限制，没有到达该等级前不能开启下一等级 */
    @Excel(name = "是否受限，指受等级限制，没有到达该等级前不能开启下一等级")
    private String isLimitation;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getLevelId() {
        return LevelId;
    }

    public void setLevelId(String levelId) {
        LevelId = levelId;
    }

    public void setLevelType(String levelType)
    {
        this.levelType = levelType;
    }

    public String getLevelType() 
    {
        return levelType;
    }
    public void setLevelNum(String levelNum) 
    {
        this.levelNum = levelNum;
    }

    public String getLevelNum() 
    {
        return levelNum;
    }
    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }
    public void setIsLimitation(String isLimitation) 
    {
        this.isLimitation = isLimitation;
    }

    public String getIsLimitation() 
    {
        return isLimitation;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("levelType", getLevelType())
            .append("levelNum", getLevelNum())
            .append("levelName", getLevelName())
            .append("isLimitation", getIsLimitation())
            .append("remark", getRemark())
            .append("sort", getSort())
            .append("parentId", getParentId())
            .toString();
    }
}
